package huixue.cn.com.rxapp.api;

import java.util.List;

import huixue.cn.com.library.entity.BaseResponse;
import huixue.cn.com.rxapp.kchart.bean.KLineData;
import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by gongdongyang 2019/7/23
 * Describe:
 */
public interface BitApi {

    @GET("api/r/v1/barhist")
    Observable<BaseResponse<List<KLineData>>> loadKlineDataV1(@Query("symbol") String symbol,
                                                              @Query("interval") String interval,
                                                              @Query("from") String from, @Query("to") String to);
}
